<?php
namespace app\index\controller;
use think\Db;

class Login
{
    public  function  index(){//登录页面
        return view("index/login");
    }
    public  function  quit(){//退出
        cookie('typeLogin',null);
        return view("index/login");
    }
    public  function  judgeLogin(){//登录判断
        $user=input('user');
        $password=input('password');
        return judgeLogin($user,$password);
    }
}